<p>
    <a style="color:blue; float:right;" href="{{$base_index_url}}/analytics/admin/trackers">Back to trackers</a>
</p>
<h3>Admin Analytics</h3>

<fieldset>
    <legend>Tracker Info</legend>
    <form method="post" action="{{$base_index_url}}/analytics/admin/edit/do_edit" />
    <table>
        <tr>
            <td width="200px">GA Tracking ID</td>
            <td><input type="text" size="30" name="ga_tracking_id" value="{{$tracker->tracking_id}}" onblur="fill();" /></td>
        </tr>
        <tr>
            <td>Site ID</td>
            <td><input type="text" size="30" name="site_id" value="{{$tracker->site_id}}" onblur="fill();" /></td>
        </tr>
        <tr>
            <td>Page Tracking</td>
            <td><input type="checkbox" {{if $tracker->enable_page_tracking}}checked="yes"{{/if}} name="page_tracking" /></td>
        </tr>
        <tr>
            <td>Ecommerce Tracking</td>
            <td><input type="checkbox" {{if $tracker->ecommerce_tracking}}checked="yes"{{/if}} name="ecommerce_tracking" /></td>
        </tr>
        <tr>
            <td>Event Tracking</td>
            <td><input type="checkbox" {{if $tracker->event_tracking}}checked="yes"{{/if}} name="event_tracking" /></td>
        </tr>
        <tr>
            <td></td>
            <td><input type="submit" id="submit" class="button" value="Save" name="edit_tracker_info" ></td>
        </tr>
            <input type="hidden" value="{{$tracker->id}}" name="tracker_id" >
    </table>
    </form>
</fieldset>
